package com.example;
import java.util.Scanner;

public class Day2Geo {
    public static void main(String[] args) {
        Scanner sc= new Scanner(System.in);
        System.out.println("Enter a point with two coordinates:");
        double x1 = sc.nextDouble();
        double y1 = sc.nextDouble();

        if(x1 <= 5&&y1 <= 2.5){
            System.out.printf("Point" + "( "+ x1 +","+y1+" )" +"is in the rectangle");
        }
        else {
            System.out.printf("Point" + "( "+ x1 +","+y1+" )" +"is not in the rectangle");;
        }
    }
}
